﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="DreamCMS.Web.Admin.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>DreamCMS后台登录</title>
    <link href="css/default.css" rel="stylesheet" />
    <link href="css/login.css" rel="stylesheet" />
    <script language="javascript">
　　<!--Hide from older browsers
    if (top.location != location)
        top.location.href = location.href;
    // -->
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="header">
            <div class="nav">
                <h1><a href="Default.aspx">DreamCMS后台登录</a></h1>
                <ul class="navBtn">
                    <li><a runat="server" href="~/Login.aspx">登录</a></li>
                    <li><a runat="server" href="~/Register.aspx">注册</a></li>
                    <li><a href="#">手机版</a></li>
                    <li><a runat="server" href="~/Default.aspx">首页</a></li>
                </ul>
            </div>
        </div>
        <div id="main">
            <div runat="server" id="lastdd"></div>
            <div runat="server" id="lastMsg" class="lastMsg" visible="false">
            </div>
            <div id="login">
                <div class="hr"><span>用户登录</span></div>
                <div class="neiBox">
                    <ul>
                        <li><span>
                            <input runat="server" type="text" id="username" name="username" class="loginInput" placeholder="请输入用户名" /></span></li>
                        <li><span>
                            <input type="password" name="password" class="loginInput" placeholder="请输入密码" /></span></li>
                        <li><span style="width: 302px; display: inline-block; text-align: left; vertical-align: middle;">
                            <input type="text" name="verifycode" class="loginInput" placeholder="输入右侧验证码" style="width: 150px; float: left;" /><img src="../common/tools/verify.ashx" onclick="this.src='../common/tools/verify.ashx?time='+'Math.random()'" style="cursor: pointer; float: left; height: 32px; margin-left: 10px; width: 110px;"
                                alt="点击刷新" /></span></li>
                        <li><span style="width: 308px; display: inline-block; text-align: left; vertical-align: middle; font-size: 14px; color: #8F8181;">
                            <input type="checkbox" name="keeplog" id="keeplog" value="keeplog" />
                            <label for="keeplog">保持登录（1个月）</label></span></li>
                    </ul>
                    <div class="loginBtnBox">
                        <span>
                            <input type="submit" value="登录" class="loginBtn" name="login" /></span>
                        <span>
                            <input type="submit" value="找回密码" class="loginBtn" name="getPass" /></span>
                    </div>
                </div>
            </div>
            <div class="logintips">还没有账号？请点<a runat="server" href="~/Register.aspx">注册</a>申请账号</div>
        </div>
        <div id="footer">
            <p>
                <a href="#">大型客户</a> | 商务合作 | 联系我们 | <a runat="server" href="~/CaseShow.aspx">案例欣赏</a>
            </p>
        </div>
    </form>
    <script type="text/javascript">
        document.getElementById('<%=username.ClientID %>').focus();
    </script>
</body>
</html>
